package com.ruoyi.supplier.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 品牌对象 tb_brand
 * 
 * @author ruoyi
 * @date 2021-02-17
 */
public class TbBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String brandDesc;

    /** 品牌log */
    @Excel(name = "品牌log")
    private String brandLogo;

    /** 品牌封面 */
    @Excel(name = "品牌封面")
    private String brandCover;

    /** 品牌排序 */
    @Excel(name = "品牌排序")
    private Long brandSort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBrandDesc(String brandDesc) 
    {
        this.brandDesc = brandDesc;
    }

    public String getBrandDesc() 
    {
        return brandDesc;
    }
    public void setBrandLogo(String brandLogo) 
    {
        this.brandLogo = brandLogo;
    }

    public String getBrandLogo() 
    {
        return brandLogo;
    }
    public void setBrandCover(String brandCover) 
    {
        this.brandCover = brandCover;
    }

    public String getBrandCover() 
    {
        return brandCover;
    }
    public void setBrandSort(Long brandSort) 
    {
        this.brandSort = brandSort;
    }

    public Long getBrandSort() 
    {
        return brandSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("brandDesc", getBrandDesc())
            .append("brandLogo", getBrandLogo())
            .append("brandCover", getBrandCover())
            .append("brandSort", getBrandSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
